import http from './http.js'

// 物理资源-物理机
export function getPhysical(params) {
  let url = '/physical'
  return http.get(url)
}
//  计算资源-物理机
export function getCouPhysical(params) {
  let url = '/countres/physical'
  return http.get(url)
}
// 计算资源-虚拟机
export function getCouVM(params) {
  let url = '/countres/vm'
  return http.get(url)
}
// 计算资源-镜像服务-公共
export function getCouPublic(params) {
  let url = '/countres/image/public'
  return http.get(url)
}
// 计算资源-镜像服务-私有
export function getCouPrivate(params) {
  let url = '/countres/image/private'
  return http.get(url)
}
// 计算资源-镜像服务-共享
export function getCouSharel(params) {
  let url = '/countres/image/share'
  return http.get(url)
}

// 容器-容器集群
export function getConCluster(params) {
  let url = '/containers/cluster'
  return http.get(url)
}

// 容器-容器镜像服务
export function getConImage(params) {
  let url = '/containers/image'
  return http.get(url)
}
// 容器-应用管理
export function getContainersApp(params) {
  let url = '/containers/app'
  return http.get(url)
}
// 容器-应用组件管理
export function getContainersAppcom(params) {
  let url = '/containers/appcom'
  return http.get(url)
}



// 存储资源-块存储
export function getStroageBlock(params) {
  let url = '/stroage/block'
  return http.get(url)
}
// 存储资源-分布式存储服务
export function getStroageDistributedk(params) {
  let url = '/stroage/distributed'
  return http.get(url)
}
// 存储资源-存筒管理
export function getStroageSilo(params) {
  let url = '/stroage/silo'
  return http.get(url)
}
// 存储资源-文件存储服务
export function getStroageFile(params) {
  let url = '/stroage/file'
  return http.get(url)
}

// 备份与恢复-云硬盘备份恢复-存储库
export function getBackrecCloudiskrep(params) {
  let url = '/backrec/cloudiskrep'
  return http.get(url)
}
// 备份与恢复-云硬盘备份恢复-备份数据
export function getBackrecCloudiskdata(params) {
  let url = '/backrec/cloudiskdata'
  return http.get(url)
}
// 备份与恢复-云服务器备份恢复-存储库
export function getBackrecClouserverrep(params) {
  let url = '/backrec/clouserverrep'
  return http.get(url)
}
// 备份与恢复-云服务器备份恢复-备份数据
export function getBackrecClouserverdata(params) {
  let url = '/backrec/clouserverdata'
  return http.get(url)
}
// 备份与恢复-文件存储备份恢复
export function getBackrecFile(params) {
  let url = '/backrec/file'
  return http.get(url)
}
// 备份与恢复-策略
export function getBackrecStrategy(params) {
  let url = '/backrec/strategy'
  return http.get(url)
}

// 网络资源-虚拟vpc
export function getNetworkVpc(params) {
  let url = '/network/vpc'
  return http.get(url)
}
// 网络资源-虚拟防火墙
export function getNetworkFirewally(params) {
  let url = '/network/firewall'
  return http.get(url)
}
// 网络资源-vpn网关
export function getNetworkVpn(params) {
  let url = '/network/vpn'
  return http.get(url)
}
// 网络资源-负载均衡
export function getNetworkLoadbalance(params) {
  let url = '/network/loadbalance'
  return http.get(url)
}

//  数据库安全-数据库审计实例
export function getDbAuditsinstance(params) {
  let url = '/db/auditsinstance'
  return http.get(url)
}
//  数据库安全-审计规则
export function getDbAuditsrule(params) {
  let url = '/db/auditsrule'
  return http.get(url)
}



// PASS资源服务-关系型数据库
export function getPassRelationdb(params) {
  let url = '/pass/relationdb'
  return http.get(url)
}
// PASS资源服务-分步式文件系统
export function getPassDistributedfile(params) {
  let url = '/pass/distributedfile'
  return http.get(url)
}
// PASS资源服务-分析型数据库
export function getPassAnalyticaldb(params) {
  let url = '/pass/analyticaldb'
  return http.get(url)
}
// 网络安全服务-网络隔离
export function getNetsafeIsolation(params) {
  let url = '/netsafe/isolation'
  return http.get(url)
}
// 网络安全服务-访问控制
export function getNetsafeAccessControl(params) {
  let url = '/netsafe/accessControl'
  return http.get(url)
}
// 网络安全服务-入侵防御
export function getNetsafeIntrusionPrevention(params) {
  let url = '/netsafe/intrusionPrevention'
  return http.get(url)
}
// 网络安全服务-网络防病毒
export function getNetsafeAntivirus(params) {
  let url = '/netsafe/antivirus'
  return http.get(url)
}

// 主机安全服务-主机防火墙
export function getHostsafeHostFirewall(params) {
  let url = '/hostsafe/hostFirewall'
  return http.get(url)
}
// 主机安全服务-主机入侵防御
export function getHostsafeHostIntrusionPrevention(params) {
  let url = '/hostsafe/hostIntrusionPrevention'
  return http.get(url)
}
// 主机安全服务-漏洞扫描
export function getHostsafeVulnerabilityScan(params) {
  let url = '/hostsafe/vulnerabilityScan'
  return http.get(url)
}
// 主机安全服务-防恶意软件
export function getHostsafeantimalware(params) {
  let url = '/hostsafe/anti-malware'
  return http.get(url)
}

// 云中间件
export function getCloudMiddleware(params) {
  let url = '/cloud/middleware'
  return http.get(url)
}



